/*
 * Copyright (c) 2020-2099 the original author or authors. All rights reserve.
 */
package org.tianyun.cloud.security.server;

import org.springframework.core.Ordered;

/**
 * security filter
 *
 * @auther ebert_chan
 */
public interface SecurityFilter<T, U> extends Ordered {

    /**
     * do filter
     *
     * @param exchange
     * @param chain
     * @auther ebert_chan
     */
    void filter(SecurityWebExchange<T, U> exchange, SecurityFilterChain<T, U> chain);

}
